package tech.yixiyun.framework.kuafu.controller.response;

import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpServletResponseWrapper;

/**
 * 框架对httpservletresponse的又一层封装
 */
public class KuafuResponse extends HttpServletResponseWrapper {
    private HttpServletResponse originalResponse;
    /**
     * Constructs a response adaptor wrapping the given response.
     *
     * @param response The response to be wrapped
     * @throws IllegalArgumentException if the response is null
     */
    public KuafuResponse(HttpServletResponse response) {
        super(response);
        this.originalResponse = response;
    }



    public HttpServletResponse getOriginalResponse() {
        return this.originalResponse;
    }

}
